package com.doit.day01;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.TreeSet;

public class Test {
    public static void main(String[] args) throws InterruptedException {
    /*    ArrayList<String> list = new ArrayList<>();
        list.add("zss");
        list.add("lss");
        list.add("ww");
        list.add("zl");
        list.add("liuyan");
        list.add("tangyan");
        list.add("dalang");
        System.out.println(list);//[zss, lss, ww, zl, liuyan, tangyan, dalang]
        HashSet<String> set = new HashSet<>();
        set.add("zss");
        set.add("lss");
        set.add("ww");
        set.add("zl");
        set.add("liuyan");
        set.add("tangyan");
        set.add("dalang");
        System.out.println(set);//[ww, zl, liuyan, dalang, tangyan, zss, lss]

        TreeSet<String> strings = new TreeSet<>();
        strings.add("zss");
        strings.add("lss");
        strings.add("ww");
        strings.add("zl");
        strings.add("liuyan");
        strings.add("tangyan");
        strings.add("dalang");
        System.out.println(strings);//[dalang, liuyan, lss, tangyan, ww, zl, zss]


        HashMap<String, HashMap<String, Integer>> stringHashMapHashMap = new HashMap<>();*/
        for (int i = 0; i < 1000; i++) {
            System.out.println(_02_手机验证码练习.getCode());
            Thread.sleep(100);
        }

    }
}
